{include file="header.tpl" title="Bao tri Bao tri Par_Rpt_PL5_Bang1_TT21"}
<span style="color:#FF0000">{$errormaxmin}</span>
<form action="" method="post" name ="tongquat" target="_self">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td colspan="2" >
<input type="button" value="{$ten_trove}" onclick="history.back();" class="button_style" onMouseOver="this.className='button_style_hover'" onMouseOut="this.className='button_style'"></td>
<td align="right" nowrap="nowrap" colspan="2">
<select name="hanhdong" size="1" onchange="changevalue('hanhdong');">
   {foreach from=$chuyentrang key=k item=v}
      <option value="{$k}" {if $select_cbo_chuyentrang eq $k} selected="selected" {/if}>{$v}</option>
 	{/foreach}
</select>
<input name="action" type="submit" value="{$ten_thuc_hien}" class="button_style" onClick="" onMouseOver="this.className='button_style_hover'" onMouseOut="this.className='button_style'"/></td>
</tr>
<tr>
<td colspan="4">
<hr></td>
</tr>
  <tr>
    <td width="25%">{$lbl_VRCODE}</td>
    <!----{if $activefield eq 'enabled'} readonly="readonly"{/if}--->
    <td style="color:#FF0000" colspan="3">
      <input name="VRCODE" type="text" id="VRCODE" value="{$VRCODE}" size="25" maxlength="20" style="background:{$colorVRCODE}; text-align:left;" {if $activefield eq 'enabled' } readonly="readonly" {/if}>
      *      
      <input type="submit" id="replacement_find" name="find" value="    " {if $activefield eq 'enabled'} disabled="disabled" {/if} /></td>
  </tr>
  
  <tr>
    <td>{$lbl_VRVN}</td>
    <td colspan="3"><span style="color:#FF0000">
      <input name="VRVN" type="text" id="VRVN" value="{$VRVN}" size="50" maxlength="50" style="background:{$colorVRVN}; text-align:left;" />
    </span></td>
  </tr>
  <tr>
    <td nowrap="nowrap">{$lbl_VREN}</td>
    <td colspan="3"><input name="VREN" type="text" id="VREN" value="{$VREN}" size="50" maxlength="50" style="background:{$colorVREN};"/>
      </td>
  </tr>
  
  <tr>
    <td nowrap="nowrap">{$lbl_LNPRD}</td>
    <td colspan="3"><span style="color:#FF0000">
      <select id="LNPRD" name="LNPRD" size="1"  style="background:{$colorLNPRD};" >
        <option value=""
       
        </option>
        
       {foreach from=$cbo_LNPRD key=k item=v}  
       
        <option value="{$k}" {if $LNPRD eq $k} selected="selected" {/if}>{$k} - {$v}</option>
        
       {/foreach}  
      
      </select>
    </span></td>
  </tr>
  <tr>
    <td nowrap="nowrap">{$lbl_FDPRD}</td>
    <td colspan="3"><span style="color:#FF0000">
      <select id="FDPRD" name="FDPRD" size="1"  style="background:{$colorFDPRD};" >
        <option value=""
       
        </option>
        
       {foreach from=$cbo_FDPRD key=k item=v}  
       
        <option value="{$k}" {if $FDPRD eq $k} selected="selected" {/if}>{$k} - {$v}</option>
        
       {/foreach}  
      
      </select>
    </span></td>
  </tr>
  <tr>
    <td nowrap="nowrap">{$lbl_MINVARRT}</td>
    <td colspan="3"><input name="MINVARRT" type="text" id="MINVARRT" value="{$MINVARRT}" size="25" maxlength="20" style="background:{$colorMINVARRT}; text-align:right " onkeypress="return numberOnly(event);" onblur="formatNumber2(this,this.value,20,4)"/></td>
  </tr>
  <tr>
    <td nowrap="nowrap">{$lbl_LCRATEPCT}</td>
    <td colspan="3"><input name="LCRATEPCT" type="text" id="LCRATEPCT" value="{$LCRATEPCT}" size="25" maxlength="20" style="background:{$colorLCRATEPCT}; text-align:right" onkeypress="return numberOnly(event);"/></td>
  </tr>
  <tr>
    <td nowrap="nowrap">{$lbl_CHGTRM}</td>
    <td colspan="3"><input name="CHGTRM" type="text" id="CHGTRM" value="{$CHGTRM}" size="10" maxlength="20" style="background:{$colorCHGTRM}; text-align:right" onkeypress="return numberOnly(event);"/>
      <span style="color:#FF0000">
      <select id="CHGTRMCD" name="CHGTRMCD" size="1"  style="background:{$colorCHGTRMCD};" >
        <option value=""
       
        </option>
        
       {foreach from=$cbo_CHGTRMCD key=k item=v}  
       
        <option value="{$k}" {if $CHGTRMCD eq $k} selected="selected" {/if}>{$k} - {$v}</option>
        
       {/foreach}  
      
      </select>
      </span></td>
  </tr>
  <tr>
    <td nowrap="nowrap">{$lbl_VARCEIL}</td>
    <td colspan="3"><input name="VARCEIL" type="text" id="VARCEIL" value="{$VARCEIL}" size="15" maxlength="20" style="background:{$colorVARCEIL}; text-align:right" onkeypress="return numberOnly(event);" onblur="formatNumber2(this,this.value,20,4)"/>
      <input name="VARFLOOR" type="text" id="VARFLOOR" value="{$VARFLOOR}" size="15" maxlength="20" style="background:{$colorVARFLOOR}; text-align:right" onkeypress="return numberOnly(event);" onblur="formatNumber2(this,this.value,20,4)"/></td>
  </tr> 
<tr>
<td colspan="4">
<p>
<p></td>
</tr>
<tr>

<td colspan="4" align="right" nowrap="nowrap">
    <input type="button" name="cancle" id="cancle" value="{$ten_cancle}" class="button_style" onclick="activeform(this.form,'VRCODE');" onmouseover="this.className='button_style_hover'" onmouseout="this.className='button_style'" />
    <input type="submit" name="capnhat" value="{$ten_cap_nhat}" {if $activefield eq 'disabled' }disabled="disabled" {/if} class="button_style" onClick="" onMouseOver="this.className='button_style_hover'" onMouseOut="this.className='button_style'" /></td>
  </tr>
<tr>
<td align="left" nowrap="nowrap" colspan="4">
<input name="addnew" type="submit" value="{$ten_themmoi}" class="button_style" onclick="" onmouseover="this.className='button_style_hover'" onmouseout="this.className='button_style'" />
<input name="detail" type="submit" value="{$ten_chitiet}" class="button_style" onclick="" onmouseover="this.className='button_style_hover'" onmouseout="this.className='button_style'" /></td>
</tr>
<tr>
<td colspan="4"><hr></td>
</tr>

<tr>
<td colspan="3">
<input type="button" value="{$ten_trove}" onclick="history.back();" class="button_style" onMouseOver="this.className='button_style_hover'" onMouseOut="this.className='button_style'"></td>
<td width="65%" align="right" nowrap="nowrap"> 
<select name="hanhdong1" size="1" onchange="changevalue('hanhdong1');">
   {foreach from=$chuyentrang key=k item=v}
      <option value="{$k}" {if $select_cbo_chuyentrang eq $k} selected="selected" {/if}>{$v}</option>
 	{/foreach}
</select>
<input name="action" type="submit" value="{$ten_thuc_hien}" class="button_style" onClick="" onMouseOver="this.className='button_style_hover'" onMouseOut="this.className='button_style'"></td>
</tr>
</table>
</form>
{$javascriptsetstyle}
{include file="footer.tpl"}
